600
|
How can I display minutes

With Exg2antt1
.Chart.LevelCount = 2
.Chart.UnitWidth = 64
.Chart.get_Level(0).Label = 65536
.Chart.get_Level(1).Label = 1048576
End With
|
599
|
How can I display seconds, from 15 to 15

With Exg2antt1
.Chart.FirstVisibleDate = "00:00"
.Chart.LevelCount = 2
.Chart.get_Level(0).Label = 1048576
With .Chart.get_Level(1)
.Label = "<%ss%>"
.Count = 15
End With
End With
|
598
|
How can I display seconds

With Exg2antt1
.Chart.LevelCount = 2
.Chart.get_Level(0).Label = 1048576
.Chart.get_Level(1).Label = "<%ss%>"
End With
|
597
|
How can I display seconds

With Exg2antt1
.Chart.LevelCount = 2
.Chart.get_Level(0).Label = 1048576
.Chart.get_Level(1).Label = 16777216
End With
|
596
|
How can I align the text being shown in the chart's header

With Exg2antt1
.Chart.UnitWidth = 64
With .Chart.get_Level(0)
.Label = "<b><%mmmm%></b> <r><%m%>"
.Unit = exontrol.EXG2ANTTLib.UnitEnum.exMonth
.Alignment = exontrol.EXG2ANTTLib.AlignmentEnum.LeftAlignment
End With
End With
|
595
|
How can I hide the tooltip being displayed in the chart's header
With Exg2antt1
.Chart.get_Level(0).ToolTip = ""
End With
|
594
|
How can I change the tooltip being displayed in the chart's header
With Exg2antt1
.Chart.get_Level(0).ToolTip = "This is a bit of text that's shown when the cursor hovers the level"
End With
|
593
|
How can I change the visual appearance of the chart's header, where levels are displayed, using your EBN files

With Exg2antt1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Chart.LevelCount = 2
.Chart.BackColorLevelHeader32 = &H1000000
End With
|
592
|
How can I change the level's foreground color in the chart

With Exg2antt1
.Chart.LevelCount = 2
.Chart.get_Level(0).ForeColor = Color.FromArgb(255,0,0)
.Chart.get_Level(1).ForeColor = Color.FromArgb(0,0,255)
End With
|
591
|
How can I change the level's background color in the chart

With Exg2antt1
.Chart.LevelCount = 2
.Chart.get_Level(0).BackColor = Color.FromArgb(255,0,0)
End With
|
590
|
How can I save data on XML format
With Exg2antt1
.LoadXML("http://www.exontrol.net/testing.xml")
.SaveXML("c:/temp/exg2antt.xml")
End With
|
589
|
How can I load data on XML format
With Exg2antt1
.LoadXML("http://www.exontrol.net/testing.xml")
End With
|
588
|
How can I add icons or pictures to the scale or zoom area

With Exg2antt1
.set_HTMLPicture("pic1","c:\exontrol\images\zipdisk.gif")
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
With .Chart
.OverviewHeight = 48
.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exZoomOnRClick
.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec"
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exThirdMonth,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHour,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"")
.OverviewZoomUnit = 52
End With
.Columns.Add("")
With .Items
.set_CellSingleLine(.AddItem("Right click the Overview area and select a new scale"),0,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap)
End With
End With
|
587
|
How can I add icons or pictures to the scale or zoom area

With Exg2antt1
.set_HTMLPicture("pic1","c:\exontrol\images\zipdisk.gif")
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
With .Chart
.OverviewHeight = 48
.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom
.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec"
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exThirdMonth,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHour,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"")
.OverviewZoomUnit = 52
End With
End With
|
586
|
How can I change the width of the unit in the scale or zoom

With Exg2antt1
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
With .Chart
.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom
.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img>|Third|<img>2</img>|<img>1</img>|Hour|Min|Sec"
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exThirdMonth,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHour,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"")
.OverviewZoomUnit = 24
End With
End With
|
585
|
How can I a scale or zoom of the chart, when right clicking the chart's header

With Exg2antt1
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
With .Chart
.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exZoomOnRClick
.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exThirdMonth,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHour,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"")
.OverviewZoomUnit = 64
End With
.Columns.Add("")
With .Items
.set_CellSingleLine(.AddItem("Right click the Overview area and select a new scale"),0,exontrol.EXG2ANTTLib.CellSingleLineEnum.exCaptionWordWrap)
End With
End With
|
584
|
How can I a customize the scale or zoom of the chart

With Exg2antt1
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
With .Chart
.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom
.OverviewZoomCaption = "Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exThirdMonth,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHour,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMinute,"")
.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exSecond,"")
.OverviewZoomUnit = 64
End With
End With
|
583
|
How can I a scale or zoom the chart at runtime

With Exg2antt1
.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" & _
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" & _
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" & _
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=")
With .Chart
.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom
.OverviewZoomCaption = "½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec"
End With
End With
|
582
|
How can I a scale or zoom the chart at runtime

With Exg2antt1
With .Chart
.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.AllowOverviewZoom = exontrol.EXG2ANTTLib.OverviewZoomEnum.exAlwaysZoom
.OverviewZoomUnit = 24
End With
End With
|
581
|
How can I a programmatically select a date
With Exg2antt1
.Chart.MarkSelectDateColor = Color.FromArgb(255,0,0)
.Chart.SelectLevel = 0
.Chart.FirstVisibleDate = #1/1/2001#
.Chart.set_SelectDate(#1/2/2001#,True)
.Chart.set_SelectDate(#1/5/2001#,True)
End With
|
580
|
How can I change the color to select a date, when clicking the chart's header
With Exg2antt1
.Chart.BackColor = Color.FromArgb(255,255,255)
.Chart.MarkSelectDateColor = Color.FromArgb(255,0,0)
End With
|
579
|
How can I enable or disable selecting a date, when clicking the chart's header
With Exg2antt1
.Chart.BackColor = Color.FromArgb(255,255,255)
.Chart.MarkSelectDateColor = Color.FromArgb(255,255,255)
End With
|
578
|
How can I specify the color or the stype for non working hours

With Exg2antt1
.Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour
.Chart.set_PaneWidth(False,0)
.Chart.NonworkingHours = 127
.Chart.NonworkingHoursPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternYard
.Chart.NonworkingHoursColor = Color.FromArgb(255,0,0)
End With
|
577
|
How can I specify the pattern or the stype for non working hours

With Exg2antt1
.Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour
.Chart.set_PaneWidth(False,0)
.Chart.NonworkingHours = 127
.Chart.NonworkingHoursPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternDiagCross
End With
|
576
|
How can I specify the non working hours

With Exg2antt1
.Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exHour
.Chart.set_PaneWidth(False,0)
.Chart.NonworkingHours = 127
End With
|
575
|
How can I get the index of the level from the point or cursor
Dim var_LevelFromPoint
With Exg2antt1
var_LevelFromPoint = .Chart.get_LevelFromPoint(0,0)
End With
|
574
|
How can I get the link from the point or cursor
Dim var_LinkFromPoint
With Exg2antt1
var_LinkFromPoint = .Chart.get_LinkFromPoint(0,0)
End With
|
573
|
How can I disable or enable at runtime linking the bars
With Exg2antt1
.Chart.AllowLinkBars = True
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#,"B1")
.AddBar(.AddItem("Item 2"),"Task",#1/6/2001#,#1/14/2001#,"B2")
End With
End With
|
572
|
How can I check or verify if a date is a non working day
With Exg2antt1
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add(Exg2antt1.Chart.get_IsNonworkingDate(#1/1/2001#))
End With
|
571
|
How can I check or verify if a date fits the chart's visible area
With Exg2antt1
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add(Exg2antt1.Chart.get_IsDateVisible(#1/1/2001#))
End With
|
570
|
How can I add a remove all non working days
With Exg2antt1
.Chart.NonworkingDays = 0
.Chart.FirstVisibleDate = #1/1/2001#
.Chart.AddNonworkingDate(#1/1/2001#)
.Chart.ClearNonworkingDates()
End With
|
569
|
How can I add a remove a non working days

With Exg2antt1
.Chart.NonworkingDays = 0
.Chart.FirstVisibleDate = #1/1/2001#
.Chart.AddNonworkingDate(#1/1/2001#)
.Chart.RemoveNonworkingDate(#1/1/2001#)
End With
|
568
|
How can I add a custom non working days

With Exg2antt1
.Chart.NonworkingDays = 0
.Chart.FirstVisibleDate = #1/1/2001#
.Chart.AddNonworkingDate(#1/1/2001#)
.Chart.AddNonworkingDate(#1/5/2001#)
End With
|
567
|
How can hide the non working days
With Exg2antt1
.Chart.ShowNonworkingDates = False
End With
|
566
|
How can hide the non working days
With Exg2antt1
.Chart.NonworkingDays = 0
End With
|
565
|
How can I let user adds new bars at runtime
With Exg2antt1
.Chart.AllowCreateBar = exontrol.EXG2ANTTLib.CreateBarEnum.exCreateBarAuto
.Columns.Add("Column")
With .Items
.AddItem("Item 1")
.AddItem("Item 2")
End With
End With
|
564
|
How can I change the width of the links between bars

With Exg2antt1
.Chart.LinksStyle = exontrol.EXG2ANTTLib.LinkStyleEnum.exLinkSolid
.Chart.LinksWidth = 2
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#,"B1")
.AddBar(.AddItem("Item 2"),"Task",#1/6/2001#,#1/14/2001#,"B2")
.AddLink("L1",.get_FindItem("Item 1",0),"B1",.get_FindItem("Item 2",0),"B2")
End With
End With
|
563
|
How can I change the style for the links between bars

With Exg2antt1
.Chart.LinksStyle = exontrol.EXG2ANTTLib.LinkStyleEnum.exLinkDashDotDot
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#,"B1")
.AddBar(.AddItem("Item 2"),"Task",#1/6/2001#,#1/14/2001#,"B2")
.AddLink("L1",.get_FindItem("Item 1",0),"B1",.get_FindItem("Item 2",0),"B2")
End With
End With
|
562
|
How can I change the color for the links between bars

With Exg2antt1
.Chart.LinksColor = Color.FromArgb(255,0,0)
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#,"B1")
.AddBar(.AddItem("Item 2"),"Task",#1/6/2001#,#1/14/2001#,"B2")
.AddLink("L1",.get_FindItem("Item 1",0),"B1",.get_FindItem("Item 2",0),"B2")
End With
End With
|
561
|
How can I hide the links between bars
With Exg2antt1
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#,"B1")
.AddBar(.AddItem("Item 2"),"Task",#1/6/2001#,#1/14/2001#,"B2")
.AddLink("L1",.get_FindItem("Item 1",0),"B1",.get_FindItem("Item 2",0),"B2")
End With
.Chart.ShowLinks = exontrol.EXG2ANTTLib.ShowExtendedLinksEnum.exHideLinks
End With
|
560
|
How can I display some grid line in the overview area

With Exg2antt1
.Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.Chart.OverviewLevelLines = 0
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#)
.AddBar(.AddItem("Item 1"),"Task",#1/6/2001#,#1/14/2001#)
End With
End With
|
559
|
How do I change the tooltip when the cursor hovers the overview area
With Exg2antt1
.Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.Chart.OverviewToolTip = "Tooltip on the overview"
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#)
.AddBar(.AddItem("Item 1"),"Task",#1/6/2001#,#1/14/2001#)
End With
End With
|
558
|
How do I remove the tooltip when the cursor hovers the overview area
With Exg2antt1
.Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.Chart.OverviewToolTip = ""
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#)
End With
End With
|
557
|
How do I change the selection color in the overview area
With Exg2antt1
.Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.Chart.OverviewSelBackColor = Color.FromArgb(255,0,0)
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#)
End With
End With
|
556
|
How do I change the background color for the overview area
With Exg2antt1
.Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.Chart.OverviewBackColor = Color.FromArgb(255,0,0)
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#)
End With
End With
|
555
|
How do I specify the height for the overview area
With Exg2antt1
.Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.Chart.OverviewHeight = 16
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#)
End With
End With
|
554
|
How do I show or hide the control's overview area

With Exg2antt1
.Chart.OverviewVisible = exontrol.EXG2ANTTLib.OverviewVisibleEnum.exOverviewShowAllVisible
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"Task",#1/2/2001#,#1/4/2001#)
End With
End With
|
553
|
How do I enable or disable resizing the bars at runtime
With Exg2antt1
.Chart.BarsAllowSizing = False
End With
|
552
|
How do I get the bar from the point or cursor

' MouseMove event - Occurs when the user moves the mouse.
Private Sub Exg2antt1_MouseMoveEvent(ByVal sender As System.Object,ByVal Button As Short,ByVal Shift As Short,ByVal X As Integer,ByVal Y As Integer) Handles Exg2antt1.MouseMoveEvent
Dim c,h
With Exg2antt1
Debug.Print( .get_ItemFromPoint(-1,-1,c,h) )
Debug.Print( .Chart.get_BarFromPoint(-1,-1) )
End With
End Sub
Dim h1,h2,h3
With Exg2antt1
.BeginUpdate()
.Columns.Add("Task")
With .Chart
.FirstVisibleDate = #12/29/2000#
.set_PaneWidth(False,64)
.LevelCount = 2
End With
With .Items
h1 = .AddItem("Task 1")
.AddBar(h1,"Task",#1/2/2001#,#1/4/2001#,"K1")
h2 = .AddItem("Task 2")
.AddBar(h2,"Task",#1/4/2001#,#1/6/2001#,"K2")
.AddLink("L1",h1,"K1",h2,"K2")
h3 = .AddItem("Task 3")
.AddBar(h3,"Task",#1/8/2001#,#1/10/2001#,"K3")
.AddLink("L2",h2,"K2",h3,"K3")
End With
.EndUpdate()
End With
|
551
|
How do I specify the color of pattern for non working days
With Exg2antt1
.Chart.NonworkingDays = 66
.Chart.NonworkingDaysPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternVertical
.Chart.NonworkingDaysColor = Color.FromArgb(255,0,0)
End With
|
550
|
How do I specify the type of pattern for non working days

With Exg2antt1
.Chart.NonworkingDays = 66
.Chart.NonworkingDaysPattern = exontrol.EXG2ANTTLib.PatternEnum.exPatternBrick
End With
|
549
|
How do I specify the non working days
With Exg2antt1
.Chart.NonworkingDays = 66
End With
|
548
|
How do I specify the non working days
With Exg2antt1
.Chart.NonworkingDays = 66
End With
|
547
|
How do I add a predefined bar

With Exg2antt1
.Chart.Bars.Add("CustomBar").Color = Color.FromArgb(255,0,0)
.Chart.FirstVisibleDate = #1/1/2001#
.Columns.Add("Column")
With .Items
.AddBar(.AddItem("Item 1"),"CustomBar",#1/2/2001#,#1/4/2001#)
End With
End With
|
546
|
How do I change the unit being displayed in the chart
With Exg2antt1
.Chart.set_PaneWidth(False,0)
.Chart.UnitScale = exontrol.EXG2ANTTLib.UnitEnum.exWeek
.Chart.UnitWidth = 64
End With
|
545
|
How do I specify the prodefined tooltip being shown on the chart's header, when Zoom method is used

With Exg2antt1
.Chart.set_PaneWidth(False,0)
.Chart.LevelCount = 2
.Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"")
.Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"")
.Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMonth,"<%m3%>")
.Chart.set_LabelToolTip(exontrol.EXG2ANTTLib.UnitEnum.exMonth,"Tooltip: <%mmmm%>")
.Chart.Zoom(#1/1/2007#,#1/1/2008#)
.Chart.FirstVisibleDate = #1/1/2007#
End With
|
544
|
How do I specify the prodefined labels being displayed on the chart, when Zoom method is used

With Exg2antt1
.Chart.set_PaneWidth(False,0)
.Chart.LevelCount = 2
.Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"")
.Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"")
.Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMonth,"<%m3%>")
.Chart.Zoom(#1/1/2007#,#1/1/2008#)
.Chart.FirstVisibleDate = #1/1/2007#
End With
|
543
|
How do I scale or zoom the chart to a specified range of date

With Exg2antt1
.Chart.set_PaneWidth(False,0)
.Chart.LevelCount = 2
.Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exHalfYear,"")
.Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exQuarterYear,"")
.Chart.set_Label(exontrol.EXG2ANTTLib.UnitEnum.exMonth,"<%m3%>")
.Chart.Zoom(#1/1/2007#,#1/1/2008#)
.Chart.FirstVisibleDate = #1/1/2007#
End With
|
542
|
How do I scale or zoom the chart to a specified range of date

With Exg2antt1
.Chart.set_PaneWidth(False,0)
.Chart.LevelCount = 2
.Chart.Zoom(#1/1/2007#,#7/1/2007#)
.Chart.FirstVisibleDate = #1/1/2007#
End With
|
541
|
How do I find the next date or previous date
With Exg2antt1
With .Chart
.FirstVisibleDate = .get_NextDate(#1/1/2002#,exontrol.EXG2ANTTLib.UnitEnum.exDay,1)
End With
End With
|
540
|
How can I change the color for the grid lines in the chart

With Exg2antt1
.Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines
.Chart.LevelCount = 2
With .Chart.get_Level(1)
.DrawGridLines = True
.GridLineColor = Color.FromArgb(255,0,0)
End With
End With
|
539
|
How can I draw, show or hide the grid lines in the chart

With Exg2antt1
.Chart.DrawGridLines = exontrol.EXG2ANTTLib.GridLinesEnum.exAllLines
.Chart.LevelCount = 2
.Chart.get_Level(1).DrawGridLines = True
End With
|
538
|
How do I change the color to highlight the today in the chart
With Exg2antt1
.Chart.MarkTodayColor = Color.FromArgb(255,0,0)
End With
|
537
|
How do I hide or stop highlighting the today area in the chart
With Exg2antt1
With .Chart
.MarkTodayColor = .BackColor
End With
End With
|
536
|
Is there any function to get the date in the format that I use for levels, to layout my chart's header
Dim h
With Exg2antt1
h = .Chart.get_FormatDate(#1/1/2002#,"<%yyyy%> <%mmmm%> <%d%> <%dddd%>")
.Columns.Add(h)
End With
|
535
|
How can I get the date from the point, cursor
' MouseMove event - Occurs when the user moves the mouse.
Private Sub Exg2antt1_MouseMoveEvent(ByVal sender As System.Object,ByVal Button As Short,ByVal Shift As Short,ByVal X As Integer,ByVal Y As Integer) Handles Exg2antt1.MouseMoveEvent
With Exg2antt1
Debug.Print( .Chart.get_DateFromPoint(-1,-1) )
End With
End Sub
|
534
|
How can I show or hide the small ticker that shows up when the cursor hovers the chart area
With Exg2antt1
.Chart.DrawDateTicker = True
End With
|
533
|
How can I change the first visible date in the chart
With Exg2antt1
.Chart.LevelCount = 2
.Chart.FirstVisibleDate = #1/1/2002#
End With
|
532
|
How can I scroll or ensure that a specified date time is visible in the chart
With Exg2antt1
.Chart.LevelCount = 2
.Chart.FirstVisibleDate = #1/1/2002#
End With
|
531
|
How can I scroll or ensure that a specified date time is visible to the right side of the chart or control
With Exg2antt1
.Chart.LevelCount = 2
.Chart.ScrollTo(#1/1/2002#,2)
End With
|
530
|
How can I scroll or ensure that a specified date time is visible
With Exg2antt1
.Chart.LevelCount = 2
.Chart.ScrollTo(#1/1/2002#,2)
End With
|
529
|
How can I show or hide the the tooltip being shown when the user scrolls the chart
With Exg2antt1
.Chart.ToolTip = ""
End With
|
528
|
How can I change the format of the tooltip when the user scrolls the chart
With Exg2antt1
.Chart.ToolTip = "ToolTip: <b><%dddd%></b>"
End With
|
527
|
How can I hide the chart's scroll bar
With Exg2antt1
.Chart.ScrollBar = False
End With
|
526
|
How can I specify the first day of the week
With Exg2antt1
.Chart.LevelCount = 2
.Chart.FirstWeekDay = exontrol.EXG2ANTTLib.WeekDayEnum.exMonday
End With
|
525
|
How do I change the AM or PM shortcuts in the chart's header
With Exg2antt1
.Chart.UnitWidth = 64
.Chart.AMPM = "A P"
With .Chart.get_Level(0)
.Label = "<%h%> <%AM/PM%>"
.Unit = exontrol.EXG2ANTTLib.UnitEnum.exHour
End With
End With
|
524
|
How do I change the name for the months, being displayed in the chart's header

With Exg2antt1
.Chart.UnitWidth = 64
.Chart.MonthNames = "Ianuarie Februarie Martie Aprilie Mai Iunie Iulie August Septembrie Octombrie Noiembrie Decembrie"
With .Chart.get_Level(0)
.Label = "<b><%mmmm%></b>"
.Unit = exontrol.EXG2ANTTLib.UnitEnum.exMonth
End With
End With
|
523
|
How do I change the name for the week days, being displayed in the chart's header

With Exg2antt1
.Chart.UnitWidth = 64
.Chart.WeekDays = "Duminica Luni Marti Miercuri Joi Vineri Simbata"
.Chart.get_Level(0).Label = "<b><%mm%></b>/<%dddd%>"
End With
|
522
|
How do I access a level in the chart's header
With Exg2antt1
.Chart.UnitWidth = 64
.Chart.get_Level(0).Label = "<b><%mm%></b>/<%dd%>"
End With
|
521
|
How can I change the color for the grid lines between the leves in the chart's header
With Exg2antt1
.GridLineColor = Color.FromArgb(255,0,0)
.Chart.LevelCount = 2
End With
|
520
|
How can I show or hide the grid lines between the leves in the chart's header

With Exg2antt1
.GridLineColor = Color.FromArgb(255,0,0)
With .Chart
.LevelCount = 2
.get_Level(0).DrawTickLines = exontrol.EXG2ANTTLib.LevelLineEnum.exLevelNoLine
.get_Level(1).DrawTickLines = exontrol.EXG2ANTTLib.LevelLineEnum.exLevelNoLine
End With
End With
|
519
|
How do I change the foreground color for the chart's header

With Exg2antt1
.Chart.ForeColorLevelHeader = Color.FromArgb(255,0,0)
End With
|
518
|
How do I change the background color for the chart's header

With Exg2antt1
.Chart.BackColorLevelHeader = Color.FromArgb(255,0,0)
End With
|
517
|
How do I specify the chart's foreground color
With Exg2antt1
.Chart.ForeColor = Color.FromArgb(255,0,0)
End With
|
516
|
How do I specify the chart's background color
With Exg2antt1
.Chart.BackColor = Color.FromArgb(255,0,0)
End With
|
515
|
How do I put a picture on the center of the chart
With Exg2antt1
.Chart.Picture = Exg2antt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.Chart.PictureDisplay = exontrol.EXG2ANTTLib.PictureDisplayEnum.MiddleCenter
End With
|
514
|
How do I resize/stretch a picture on the chart's background
With Exg2antt1
.Chart.Picture = Exg2antt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.Chart.PictureDisplay = exontrol.EXG2ANTTLib.PictureDisplayEnum.Stretch
End With
|
513
|
How do I put a picture on the chart's center right bottom side
With Exg2antt1
.Chart.Picture = Exg2antt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.Chart.PictureDisplay = exontrol.EXG2ANTTLib.PictureDisplayEnum.LowerRight
End With
|
512
|
How do I put a picture on the chart's center left bottom side
With Exg2antt1
.Chart.Picture = Exg2antt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.Chart.PictureDisplay = exontrol.EXG2ANTTLib.PictureDisplayEnum.LowerLeft
End With
|
511
|
How do I put a picture on the chart's center top side
With Exg2antt1
.Chart.Picture = Exg2antt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.Chart.PictureDisplay = exontrol.EXG2ANTTLib.PictureDisplayEnum.UpperCenter
End With
|
510
|
How do I put a picture on the chart's right top corner
With Exg2antt1
.Chart.Picture = Exg2antt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.Chart.PictureDisplay = exontrol.EXG2ANTTLib.PictureDisplayEnum.UpperRight
End With
|
509
|
How do I put a picture on the chart's left top corner
With Exg2antt1
.Chart.Picture = Exg2antt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
.Chart.PictureDisplay = exontrol.EXG2ANTTLib.PictureDisplayEnum.UpperLeft
End With
|
508
|
How do I put a picture on the chart's background
With Exg2antt1
.Chart.Picture = Exg2antt1.ExecuteTemplate("loadpicture(`c:\exontrol\images\zipdisk.gif`)")
End With
|
507
|
How to specify the width for the left or side pane
With Exg2antt1
.Chart.set_PaneWidth(False,128)
End With
|
506
|
How do I display the header of the chart using multiple levels, lines

With Exg2antt1
.Chart.LevelCount = 2
End With
|
505
|
How do change the width of the chart's area
With Exg2antt1
.Chart.set_PaneWidth(True,256)
End With
|
504
|
How do I show or hide the control's chart area
With Exg2antt1
.Chart.set_PaneWidth(True,0)
End With
|
503
|
How do I access the chart's area of the control
With Exg2antt1
.Chart.set_PaneWidth(False,64)
End With
|
502
|
How can I select a cells like in excel
With Exg2antt1
.SingleSel = False
.FullRowSelect = exontrol.EXG2ANTTLib.CellSelectEnum.exRectSel
.MarkSearchColumn = False
.SearchColumnIndex = -1
.Columns.Add("Column1")
.Columns.Add("Column2")
.Columns.Add("Column3")
With .Items
.DefaultItem = .AddItem(0)
.set_CellValue(0,1,1)
.set_CellValue(0,2,2)
.DefaultItem = .AddItem(3)
.set_CellValue(0,1,4)
.set_CellValue(0,2,5)
.DefaultItem = .AddItem(6)
.set_CellValue(0,1,7)
.set_CellValue(0,2,8)
End With
End With
|
501
|
How can I select a multiple column
With Exg2antt1
.MarkSearchColumn = False
.SingleSel = False
.FullRowSelect = exontrol.EXG2ANTTLib.CellSelectEnum.exRectSel
.Columns.Add("Column1").Selected = True
.Columns.Add("Column2")
.Columns.Add("Column3").Selected = True
With .Items
.DefaultItem = .AddItem(0)
.set_CellValue(0,1,1)
.set_CellValue(0,2,2)
.DefaultItem = .AddItem(3)
.set_CellValue(0,1,4)
.set_CellValue(0,2,5)
.DefaultItem = .AddItem(6)
.set_CellValue(0,1,7)
.set_CellValue(0,2,8)
End With
.Items.SelectAll()
End With
|